package com.kun.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
@ApiModel("课程")
public class Course {

    @ApiModelProperty("课程id")
    private Integer id;
    @ApiModelProperty("课程名称")
    private String name;
    @ApiModelProperty("学分")
    private Integer score;
    @ApiModelProperty("课程时间")
    private Integer time;
    @ApiModelProperty("是否开课")
    private Boolean state;
    @ApiModelProperty("教师id")
    private Integer teacherId;


}
